﻿using System;
using System.Collections.Generic;

namespace ZH.Infrastructure.EFCore.MySql;

public partial class Appointment
{
    public string Aid { get; set; } = null!;

    /// <summary>
    /// 客户姓名
    /// </summary>
    public string CustomerName { get; set; } = null!;

    /// <summary>
    /// 客户电话
    /// </summary>
    public string CustomerPhone { get; set; } = null!;

    /// <summary>
    /// 用户id（如果是收银端添加则为空）
    /// </summary>
    public string? MId { get; set; }

    /// <summary>
    /// 预约日期
    /// </summary>
    public string AppointmentDate { get; set; } = null!;

    /// <summary>
    /// 预约开始时间
    /// </summary>
    public string StartTime { get; set; } = null!;

    /// <summary>
    /// 预约结束时间
    /// </summary>
    public string? EndTime { get; set; }

    /// <summary>
    /// 服务项目编号
    /// </summary>
    public string? ServiceId { get; set; }

    /// <summary>
    /// 服务项目（如按摩、理疗等）
    /// </summary>
    public string ServiceItem { get; set; } = null!;

    /// <summary>
    /// 预约状态
    /// </summary>
    public string? Status { get; set; }

    /// <summary>
    /// 备注信息（如客户特殊需求等）
    /// </summary>
    public string? Notes { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? CreatedAt { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime? UpdatedAt { get; set; }
}
